home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / comp / parser.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  55.7 KB  |  1,790 lines

  1.  
  2. /*  A Bison parser, made from parser  */
  3.  
  4. #define    ARG_HEAD    258
  5. #define    ARG_TAIL    259
  6. #define    ASCII    260
  7. #define    BREAK    261
  8. #define    CHDIR    262
  9. #define    CMD_HEAD    263
  10. #define    CMD_TAIL    264
  11. #define    C_BASE    265
  12. #define    C_EXT    266
  13. #define    C_PATH    267
  14. #define    G_BASE    268
  15. #define    G_EXT    269
  16. #define    G_PATH    270
  17. #define    ELEMENT    271
  18. #define    ELSE    272
  19. #define    EXEC    273
  20. #define    EXECUTE    274
  21. #define    EXISTS    275
  22. #define    EXIT    276
  23. #define    FGETS    277
  24. #define    FIELDS    278
  25. #define    FOR    279
  26. #define    FPRINTF    280
  27. #define    GETCH    281
  28. #define    GETPID    282
  29. #define    GETS    283
  30. #define    IDENTIFIER    284
  31. #define    IF    285
  32. #define    INT    286
  33. #define    LIST    287
  34. #define    MAKELIST    288
  35. #define    M_ECHO    289
  36. #define    NUMBER    290
  37. #define    PRINTF    291
  38. #define    PUTENV    292
  39. #define    RETURN    293
  40. #define    SIZEOFLIST    294
  41. #define    STAT    295
  42. #define    STRING    296
  43. #define    STRINGTYPE    297
  44. #define    STRLEN    298
  45. #define    STRLWR    299
  46. #define    STRUPR    300
  47. #define    SUBSTR    301
  48. #define    SYSTEM    302
  49. #define    VOID    303
  50. #define    WHILE    304
  51. #define    AND_IS    305
  52. #define    OR_IS    306
  53. #define    XOR_IS    307
  54. #define    SHL_IS    308
  55. #define    SHR_IS    309
  56. #define    DIV_IS    310
  57. #define    MINUS_IS    311
  58. #define    MUL_IS    312
  59. #define    MOD_IS    313
  60. #define    PLUS_IS    314
  61. #define    OR    315
  62. #define    AND    316
  63. #define    EQUAL    317
  64. #define    NOT_EQUAL    318
  65. #define    SMALLER_EQUAL    319
  66. #define    GREATER_EQUAL    320
  67. #define    OLDER    321
  68. #define    YOUNGER    322
  69. #define    SHL    323
  70. #define    SHR    324
  71. #define    INC    325
  72. #define    DEC    326
  73.  
  74. #line 4 "parser"
  75.  
  76.  
  77. #include "iccomp.h"
  78.  
  79.  
  80. #ifndef YYLTYPE
  81. typedef
  82.   struct yyltype
  83.     {
  84.       int timestamp;
  85.       int first_line;
  86.       int first_column;
  87.       int last_line;
  88.       int last_column;
  89.       char *text;
  90.    }
  91.   yyltype;
  92.  
  93. #define YYLTYPE yyltype
  94. #endif
  95.  
  96. #define    YYACCEPT    return(0)
  97. #define    YYABORT    return(1)
  98. #define    YYERROR    goto yyerrlab
  99. #ifndef YYSTYPE
  100. #define YYSTYPE int
  101. #endif
  102. #include <stdio.h>
  103.  
  104. #ifdef  __STDC__
  105. #define const
  106. #endif
  107.  
  108.  
  109.  
  110. #define    YYFINAL        317
  111. #define    YYFLAG        -32768
  112. #define    YYNTBASE    91
  113.  
  114. #define YYTRANSLATE(x) ((unsigned)(x) <= 326 ? yytranslate[x] : 173)
  115.  
  116. static const char yytranslate[] = {     0,
  117.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  118.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  119.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  120.      2,     2,    81,     2,     2,     2,    80,    65,     2,    89,
  121.     86,    78,    76,    87,    77,     2,    79,     2,     2,     2,
  122.      2,     2,     2,     2,     2,     2,     2,     2,    90,    68,
  123.     50,    69,     2,     2,     2,     2,     2,     2,     2,     2,
  124.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  125.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  126.      2,     2,     2,    64,     2,     2,     2,     2,     2,     2,
  127.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  128.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  129.      2,     2,    88,    63,    85,    84,     2,     2,     2,     2,
  130.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  131.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  132.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  133.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  134.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  135.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  136.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  137.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  138.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  139.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  140.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  141.      2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  142.      2,     2,     2,     2,     2,     1,     2,     3,     4,     5,
  143.      6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
  144.     16,    17,    18,    19,    20,    21,    22,    23,    24,    25,
  145.     26,    27,    28,    29,    30,    31,    32,    33,    34,    35,
  146.     36,    37,    38,    39,    40,    41,    42,    43,    44,    45,
  147.     46,    47,    48,    49,    51,    52,    53,    54,    55,    56,
  148.     57,    58,    59,    60,    61,    62,    66,    67,    70,    71,
  149.     72,    73,    74,    75,    82,    83
  150. };
  151.  
  152. static const short yyrline[] = {     0,
  153.    103,   106,   111,   118,   125,   131,   138,   140,   142,   146,
  154.    146,   147,   147,   148,   148,   150,   156,   160,   166,   170,
  155.    171,   173,   182,   185,   191,   197,   201,   208,   213,   218,
  156.    225,   232,   239,   246,   253,   260,   267,   274,   281,   288,
  157.    295,   302,   309,   316,   323,   330,   337,   344,   351,   358,
  158.    365,   372,   379,   386,   393,   400,   407,   414,   421,   428,
  159.    435,   441,   447,   453,   459,   465,   471,   477,   483,   491,
  160.    496,   501,   508,   512,   519,   526,   530,   535,   552,   562,
  161.    565,   572,   578,   585,   594,   602,   610,   617,   624,   631,
  162.    633,   642,   649,   656,   670,   675,   692,   694,   698,   703,
  163.    706,   710,   725,   741,   763,   788,   797,   804,   811,   818,
  164.    821,   826,   828,   832,   834,   836,   838,   840,   842,   844,
  165.    846,   848,   850,   852,   854,   856,   860,   860,   861,   861,
  166.    863,   865,   869,   871,   878,   880,   884,   886,   890,   892,
  167.    894,   898,   900,   903,   905,   908,   910,   916,   920,   924,
  168.    932,   938,   946,   954,   956,   960,   960,   962,   969,   975,
  169.    979,   981,   987,   990,   992,   994,   996,   999,  1002,  1007,
  170.   1013,  1021,  1023,  1028,  1030,  1032,  1034,  1036,  1038,  1040,
  171.   1044,  1053,  1058,  1062,  1064,  1069,  1071,  1075,  1077,  1079,
  172.   1083,  1090,  1095,  1111,  1113,  1115,  1119
  173. };
  174.  
  175. static const char * const yytname[] = {     0,
  176. "error","$illegal.","ARG_HEAD","ARG_TAIL","ASCII","BREAK","CHDIR","CMD_HEAD","CMD_TAIL","C_BASE",
  177. "C_EXT","C_PATH","G_BASE","G_EXT","G_PATH","ELEMENT","ELSE","EXEC","EXECUTE","EXISTS",
  178. "EXIT","FGETS","FIELDS","FOR","FPRINTF","GETCH","GETPID","GETS","IDENTIFIER","IF",
  179. "INT","LIST","MAKELIST","M_ECHO","NUMBER","PRINTF","PUTENV","RETURN","SIZEOFLIST","STAT",
  180. "STRING","STRINGTYPE","STRLEN","STRLWR","STRUPR","SUBSTR","SYSTEM","VOID","WHILE","'='",
  181. "AND_IS","OR_IS","XOR_IS","SHL_IS","SHR_IS","DIV_IS","MINUS_IS","MUL_IS","MOD_IS","PLUS_IS",
  182. "OR","AND","'|'","'^'","'&'","EQUAL","NOT_EQUAL","'<'","'>'","SMALLER_EQUAL",
  183. "GREATER_EQUAL","OLDER","YOUNGER","SHL","SHR","'+'","'-'","'*'","'/'","'%'",
  184. "'!'","INC","DEC","'~'","'}'","')'","','","'{'","'('","';'",
  185. "input"
  186. };
  187.  
  188. static const short yyr1[] = {     0,
  189.     91,    91,    92,    92,    93,    94,    95,    95,    95,    97,
  190.     96,    99,    98,   101,   100,   102,   102,   103,   103,   105,
  191.    104,   106,   107,   107,   108,   108,   109,   111,   110,   112,
  192.    112,   112,   112,   112,   112,   112,   112,   112,   112,   112,
  193.    112,   112,   112,   112,   112,   112,   112,   112,   112,   112,
  194.    112,   112,   112,   112,   112,   112,   112,   112,   112,   112,
  195.    112,   112,   112,   112,   112,   112,   112,   112,   112,   112,
  196.    112,   112,   112,   113,   114,   114,   115,   116,   117,   118,
  197.    118,   119,   119,   119,   119,   119,   119,   119,   119,   119,
  198.    119,   120,   121,   122,   123,   124,   125,   125,   126,   127,
  199.    127,   128,   128,   128,   128,   129,   130,   131,   132,   134,
  200.    133,   135,   135,   136,   136,   136,   136,   136,   136,   136,
  201.    136,   136,   136,   136,   136,   136,   138,   137,   140,   139,
  202.    141,   141,   142,   142,   143,   143,   144,   144,   145,   145,
  203.    145,   146,   146,   147,   147,   148,   148,   149,   149,   150,
  204.    151,   152,   153,   154,   154,   156,   155,   157,   158,   158,
  205.    159,   159,   159,   159,   159,   159,   159,   159,   159,   160,
  206.    160,   161,   161,   162,   162,   162,   162,   162,   162,   162,
  207.    163,   164,   165,   165,   165,   166,   166,   167,   167,   167,
  208.    168,   169,   170,   171,   171,   171,   172
  209. };
  210.  
  211. static const short yyr2[] = {     0,
  212.      2,     1,     3,     1,     0,     1,     1,     1,     1,     0,
  213.      2,     0,     2,     0,     2,     2,     1,     2,     1,     0,
  214.      2,     3,     2,     2,     2,     1,     1,     0,     2,     3,
  215.      3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
  216.      3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
  217.      3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
  218.      2,     2,     2,     2,     2,     2,     2,     2,     4,     1,
  219.      1,     3,     1,     1,     3,     1,     2,    11,     4,     2,
  220.      1,     2,     3,     5,     4,     4,     3,     3,     3,     1,
  221.      3,     1,     1,     5,     2,     9,     1,     1,     2,     2,
  222.      1,     2,     3,     6,     7,     3,     0,     1,     1,     0,
  223.      2,     1,     1,     1,     1,     1,     1,     1,     1,     1,
  224.      1,     1,     1,     1,     1,     1,     0,     2,     0,     2,
  225.      1,     1,     1,     0,     1,     1,     1,     1,     1,     1,
  226.      1,     1,     0,     1,     0,     1,     0,     3,     1,     2,
  227.      0,     0,     2,     1,     1,     0,     2,     1,     2,     1,
  228.      1,     2,     2,     1,     1,     1,     2,     2,     2,     2,
  229.      1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
  230.      1,     2,     3,     1,     2,     1,     1,     1,     1,     1,
  231.      1,     2,     7,     1,     1,     1,     0
  232. };
  233.  
  234. static const short yydefact[] = {   147,
  235.    188,   190,   189,   191,   147,     2,     0,   146,   181,     0,
  236.      1,     0,    27,   184,   187,   127,   186,    14,    23,    92,
  237.     24,   109,   185,   197,   145,     0,     0,     0,   182,     0,
  238.      0,   160,     0,    14,   149,     0,   128,    27,   183,    15,
  239.    157,     0,     6,    98,   152,   152,    97,   152,   197,   197,
  240.    156,    79,     0,   161,    74,     0,   156,   127,   166,   127,
  241.    165,    28,   156,   159,   158,   127,   164,   129,     0,   150,
  242.    169,    77,   108,    95,   192,     0,   162,   168,    11,   120,
  243.    121,   114,   140,   119,   118,   175,   174,   176,   122,   124,
  244.    123,   177,   137,   138,   116,   178,   179,   127,   194,   195,
  245.    196,    81,   127,   117,    71,   127,   125,   115,   139,   171,
  246.    126,   173,   172,   180,   141,     0,     0,     0,     0,     0,
  247.      0,     0,    29,    73,    12,   127,    90,    14,   127,   127,
  248.    127,    70,   127,   127,   127,   163,    28,    28,   154,   153,
  249.    155,   167,    28,   143,     0,   148,    22,    28,    28,    28,
  250.     66,    61,    68,    62,    64,    67,     7,     8,     9,     0,
  251.     12,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  252.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  253.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  254.      0,     0,    63,    65,    80,     0,    28,    28,   102,    28,
  255.     28,    28,   170,    28,    28,    82,    76,   135,   156,   136,
  256.     12,    12,   101,   142,    94,     0,   130,    14,     4,   106,
  257.     14,     0,    72,    30,    36,    37,    38,    39,    40,    32,
  258.     35,    31,    33,    34,    41,    42,    51,    52,    50,    43,
  259.     44,    45,    46,    47,    48,    58,    57,    53,    54,    49,
  260.     55,    56,    59,    60,    13,    14,    89,   132,    14,    14,
  261.      0,    83,   197,   197,    91,    14,    28,    28,     0,     5,
  262.    100,    99,    28,    69,   110,    28,   112,   113,   111,    28,
  263.     86,    17,    28,    85,    19,    28,    75,   133,   156,   151,
  264.      0,     3,    14,   107,    14,    18,    84,    28,   152,   151,
  265.     28,   104,    12,   197,   193,   105,     5,     0,   151,    26,
  266.      0,    25,    96,   151,    78,     0,     0
  267. };
  268.  
  269. static const short yydefgoto[] = {     5,
  270.    218,   291,    51,   160,    52,    53,   195,   196,   273,    28,
  271.    281,   284,    -1,    -1,    54,     6,   309,    14,    55,    56,
  272.    123,    57,   208,    58,    59,    15,   124,   125,    16,   126,
  273.     24,    60,    61,    62,   213,   214,   127,   128,   199,    72,
  274.     23,   260,   261,   279,   129,    25,    26,   144,   145,   257,
  275.    289,   209,   130,   131,   215,    33,     7,    34,    35,   299,
  276.     73,    63,   140,    29,    30,    64,    31,    65,   132,   133,
  277.    134,     8,    17,    18,    19,     9,    10,    66,    67,   135,
  278.     32
  279. };
  280.  
  281. static const short yypact[] = {    -7,
  282. -32768,-32768,-32768,-32768,     7,-32768,     8,-32768,-32768,   -14,
  283. -32768,   -70,   -67,-32768,-32768,-32768,-32768,   -61,-32768,-32768,
  284. -32768,-32768,-32768,-32768,    44,   -56,    16,   -39,-32768,   -54,
  285.    345,-32768,   -35,    -5,-32768,    16,-32768,-32768,-32768,-32768,
  286. -32768,   -70,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  287. -32768,-32768,    -3,-32768,-32768,   606,-32768,-32768,-32768,-32768,
  288. -32768,    -6,-32768,-32768,-32768,-32768,-32768,-32768,    44,-32768,
  289. -32768,-32768,-32768,-32768,-32768,   345,-32768,-32768,-32768,-32768,
  290. -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  291. -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  292. -32768,    -4,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  293. -32768,-32768,-32768,-32768,-32768,   606,   606,   606,   606,   606,
  294.    606,   523,   646,-32768,-32768,-32768,-32768,     9,-32768,-32768,
  295. -32768,    42,-32768,-32768,-32768,-32768,    -6,-32768,-32768,-32768,
  296. -32768,-32768,-32768,    44,    14,-32768,-32768,-32768,-32768,-32768,
  297.    -55,   -55,   -55,   -55,   -55,   -55,-32768,-32768,-32768,    10,
  298.    646,   606,   606,   606,   606,   606,   606,   606,   606,   606,
  299.    606,   606,   606,   606,   606,   606,   606,   606,   606,   606,
  300.    606,   606,   606,   606,   606,   606,   606,   606,   606,   606,
  301.    606,   606,-32768,-32768,-32768,    15,    20,   -29,-32768,-32768,
  302. -32768,-32768,-32768,-32768,-32768,-32768,-32768,    31,-32768,-32768,
  303. -32768,-32768,-32768,    44,-32768,    13,-32768,    41,-32768,-32768,
  304.     45,   606,-32768,   646,   646,   646,   646,   646,   646,   646,
  305.    646,   646,   646,   646,   104,   129,   212,    -9,   329,   417,
  306.    417,    37,    37,    37,    37,    37,    37,    46,    46,    11,
  307.     11,   -55,   -55,   -55,-32768,    47,-32768,-32768,    50,-32768,
  308.      6,-32768,    43,    51,-32768,-32768,-32768,    49,   435,-32768,
  309. -32768,-32768,-32768,   -55,-32768,-32768,-32768,-32768,-32768,-32768,
  310. -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  311.    435,-32768,-32768,-32768,    54,-32768,-32768,    20,-32768,-32768,
  312. -32768,-32768,-32768,   115,-32768,-32768,-32768,   435,-32768,-32768,
  313.    435,-32768,-32768,-32768,-32768,   137,-32768
  314. };
  315.  
  316. static const short yypgoto[] = {-32768,
  317.   -145,  -166,-32768,-32768,    66,-32768,  -158,-32768,   -18,-32768,
  318. -32768,-32768,-32768,-32768,-32768,   138,-32768,   -17,   -51,-32768,
  319.    140,  -133,-32768,-32768,-32768,   134,-32768,-32768,-32768,-32768,
  320. -32768,-32768,-32768,-32768,   -62,-32768,-32768,-32768,  -139,   -25,
  321.    114,  -118,-32768,-32768,-32768,   -26,-32768,-32768,-32768,-32768,
  322. -32768,  -140,-32768,-32768,-32768,-32768,-32768,-32768,    90,  -283,
  323.   -138,-32768,-32768,   -45,-32768,  -261,   111,-32768,-32768,-32768,
  324. -32768,   -23,   -53,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  325.    -49
  326. };
  327.  
  328.  
  329. #define    YYLAST        729
  330.  
  331.  
  332. static const short yytable[] = {    27,
  333.     77,    36,   223,   207,   221,    78,   316,   290,    12,    39,
  334.    139,   136,   141,    12,    20,    69,   305,   142,    70,    22,
  335.     74,   -92,    75,     1,     2,   313,   193,   194,  -156,   300,
  336.    315,   137,    37,   138,     3,    41,    13,     1,     2,   143,
  337.      4,    38,  -110,  -110,    38,    36,   312,    40,     3,   314,
  338.     68,   256,   269,   270,     4,   177,   178,   179,   180,   181,
  339.    182,   183,   184,   185,   186,   187,   188,   189,   190,   191,
  340.    192,   148,   193,   194,     1,     2,   149,   277,   278,   150,
  341.   -144,    79,   203,  -197,   -93,     3,   211,   210,   190,   191,
  342.    192,   212,   193,   194,  -107,   222,   219,   220,   219,   197,
  343.    255,   217,   200,   201,   202,  -197,   204,   205,   206,   198,
  344.    186,   187,   188,   189,   190,   191,   192,   267,   193,   194,
  345.    216,   188,   189,   190,   191,   192,   -88,   193,   194,   280,
  346.    -87,   308,  -131,   287,   295,  -103,   317,   283,  -134,   -16,
  347.    311,   147,    11,    21,   307,   219,   259,   258,   262,   263,
  348.    264,   271,   265,   266,   302,    71,   293,   303,   146,    76,
  349.    304,     0,   272,   268,   207,   174,   175,   176,   177,   178,
  350.    179,   180,   181,   182,   183,   184,   185,   186,   187,   188,
  351.    189,   190,   191,   192,     0,   193,   194,     0,     0,     0,
  352.    216,   175,   176,   177,   178,   179,   180,   181,   182,   183,
  353.    184,   185,   186,   187,   188,   189,   190,   191,   192,     0,
  354.    193,   194,     0,   282,   285,     0,   288,     0,     0,     0,
  355.      0,   292,     0,     0,   294,     0,     0,     0,   219,     0,
  356.      0,   296,     0,     0,   297,     0,     0,     0,     0,     0,
  357.    275,   276,     0,   298,     0,     0,     0,   286,   210,   306,
  358.      0,     0,     0,     0,   310,   151,   152,   153,   154,   155,
  359.    156,   161,     0,     0,     0,     0,     0,     0,     0,     0,
  360.      0,     0,     0,     0,   301,   176,   177,   178,   179,   180,
  361.    181,   182,   183,   184,   185,   186,   187,   188,   189,   190,
  362.    191,   192,     0,   193,   194,     0,     0,     0,     0,     0,
  363.      0,   224,   225,   226,   227,   228,   229,   230,   231,   232,
  364.    233,   234,   235,   236,   237,   238,   239,   240,   241,   242,
  365.    243,   244,   245,   246,   247,   248,   249,   250,   251,   252,
  366.    253,   254,     0,     0,     0,     0,     0,     0,     0,     0,
  367.      0,     0,     0,     0,     0,    42,     0,   -28,   -28,   -28,
  368.     43,   -28,   -28,   -28,   -28,   -28,   -28,   -28,   -28,   -28,
  369.    -28,   274,   -28,   -28,   -28,    44,   -28,   -28,    45,   -28,
  370.    -28,   -28,   -28,   -28,    46,     0,     0,   -28,   -28,   -28,
  371.    -28,   -28,    47,   -28,   -28,   -28,     0,   -28,   -28,   -28,
  372.    -28,   -28,     0,    48,   178,   179,   180,   181,   182,   183,
  373.    184,   185,   186,   187,   188,   189,   190,   191,   192,     0,
  374.    193,   194,     0,     0,     0,     0,     0,     0,     0,     0,
  375.    -28,   -28,     0,     0,     0,   -28,   -28,   -28,   -28,   -10,
  376.      0,     0,    49,   -28,    50,    42,     0,   -28,   -28,   -28,
  377.     43,   -28,   -28,   -28,   -28,   -28,   -28,   -28,   -28,   -28,
  378.    -28,     0,   -28,   -28,   -28,    44,   -28,   -28,    45,   -28,
  379.    -28,   -28,   -28,   -28,    46,     0,     0,   -28,   -28,   -28,
  380.    -28,   -28,    47,   -28,   -28,   -28,     0,   -28,   -28,   -28,
  381.    -28,   -28,     0,    48,   180,   181,   182,   183,   184,   185,
  382.    186,   187,   188,   189,   190,   191,   192,     0,   193,   194,
  383.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  384.    -28,   -28,     0,     0,     0,   -28,   -28,   -28,   -28,     0,
  385.      0,     0,    49,   -28,    50,    80,    81,    82,     0,    83,
  386.     84,    85,    86,    87,    88,    89,    90,    91,    92,     0,
  387.     93,    94,    95,     0,    96,    97,     0,    98,    99,   100,
  388.    101,   102,     0,   157,   158,   103,   104,   105,   106,   107,
  389.      0,   108,   109,   110,   159,   111,   112,   113,   114,   115,
  390.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  391.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  392.      0,     0,     0,     0,     0,     0,     0,     0,   116,   117,
  393.      0,     0,     0,   118,   119,   120,   121,     0,    80,    81,
  394.     82,   122,    83,    84,    85,    86,    87,    88,    89,    90,
  395.     91,    92,     0,    93,    94,    95,     0,    96,    97,     0,
  396.     98,    99,   100,   101,   102,     0,     0,     0,   103,   104,
  397.    105,   106,   107,     0,   108,   109,   110,     0,   111,   112,
  398.    113,   114,   115,     0,     0,     0,     0,     0,     0,     0,
  399.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  400.      0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
  401.      0,   116,   117,     0,     0,     0,   118,   119,   120,   121,
  402.      0,     0,     0,     0,   122,   162,   163,   164,   165,   166,
  403.    167,   168,   169,   170,   171,   172,   173,   174,   175,   176,
  404.    177,   178,   179,   180,   181,   182,   183,   184,   185,   186,
  405.    187,   188,   189,   190,   191,   192,     0,   193,   194
  406. };
  407.  
  408. static const short yycheck[] = {    18,
  409.     50,    25,   161,   137,   150,    51,     0,   269,     1,    27,
  410.     62,    57,    62,     1,    29,    34,   300,    63,    36,    90,
  411.     46,    89,    48,    31,    32,   309,    82,    83,    90,   291,
  412.    314,    58,    89,    60,    42,    90,    29,    31,    32,    66,
  413.     48,    29,    72,    73,    29,    69,   308,    87,    42,   311,
  414.     86,   197,   211,   212,    48,    65,    66,    67,    68,    69,
  415.     70,    71,    72,    73,    74,    75,    76,    77,    78,    79,
  416.     80,    98,    82,    83,    31,    32,   103,    72,    73,   106,
  417.     86,    85,    41,    90,    89,    42,   138,   137,    78,    79,
  418.     80,   143,    82,    83,    86,    86,   148,   149,   150,   126,
  419.     86,    88,   129,   130,   131,    86,   133,   134,   135,   128,
  420.     74,    75,    76,    77,    78,    79,    80,    87,    82,    83,
  421.    144,    76,    77,    78,    79,    80,    86,    82,    83,    87,
  422.     86,    17,    86,   267,   280,    86,     0,    87,    90,    86,
  423.    307,    76,     5,    10,   303,   197,   198,   197,   200,   201,
  424.    202,   214,   204,   205,   294,    42,   275,   298,    69,    49,
  425.    299,    -1,   216,   209,   298,    62,    63,    64,    65,    66,
  426.     67,    68,    69,    70,    71,    72,    73,    74,    75,    76,
  427.     77,    78,    79,    80,    -1,    82,    83,    -1,    -1,    -1,
  428.    214,    63,    64,    65,    66,    67,    68,    69,    70,    71,
  429.     72,    73,    74,    75,    76,    77,    78,    79,    80,    -1,
  430.     82,    83,    -1,   263,   264,    -1,   268,    -1,    -1,    -1,
  431.     -1,   273,    -1,    -1,   276,    -1,    -1,    -1,   280,    -1,
  432.     -1,   283,    -1,    -1,   286,    -1,    -1,    -1,    -1,    -1,
  433.    259,   260,    -1,   289,    -1,    -1,    -1,   266,   298,   301,
  434.     -1,    -1,    -1,    -1,   304,   116,   117,   118,   119,   120,
  435.    121,   122,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  436.     -1,    -1,    -1,    -1,   293,    64,    65,    66,    67,    68,
  437.     69,    70,    71,    72,    73,    74,    75,    76,    77,    78,
  438.     79,    80,    -1,    82,    83,    -1,    -1,    -1,    -1,    -1,
  439.     -1,   162,   163,   164,   165,   166,   167,   168,   169,   170,
  440.    171,   172,   173,   174,   175,   176,   177,   178,   179,   180,
  441.    181,   182,   183,   184,   185,   186,   187,   188,   189,   190,
  442.    191,   192,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  443.     -1,    -1,    -1,    -1,    -1,     1,    -1,     3,     4,     5,
  444.      6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
  445.     16,   222,    18,    19,    20,    21,    22,    23,    24,    25,
  446.     26,    27,    28,    29,    30,    -1,    -1,    33,    34,    35,
  447.     36,    37,    38,    39,    40,    41,    -1,    43,    44,    45,
  448.     46,    47,    -1,    49,    66,    67,    68,    69,    70,    71,
  449.     72,    73,    74,    75,    76,    77,    78,    79,    80,    -1,
  450.     82,    83,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  451.     76,    77,    -1,    -1,    -1,    81,    82,    83,    84,    85,
  452.     -1,    -1,    88,    89,    90,     1,    -1,     3,     4,     5,
  453.      6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
  454.     16,    -1,    18,    19,    20,    21,    22,    23,    24,    25,
  455.     26,    27,    28,    29,    30,    -1,    -1,    33,    34,    35,
  456.     36,    37,    38,    39,    40,    41,    -1,    43,    44,    45,
  457.     46,    47,    -1,    49,    68,    69,    70,    71,    72,    73,
  458.     74,    75,    76,    77,    78,    79,    80,    -1,    82,    83,
  459.     -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  460.     76,    77,    -1,    -1,    -1,    81,    82,    83,    84,    -1,
  461.     -1,    -1,    88,    89,    90,     3,     4,     5,    -1,     7,
  462.      8,     9,    10,    11,    12,    13,    14,    15,    16,    -1,
  463.     18,    19,    20,    -1,    22,    23,    -1,    25,    26,    27,
  464.     28,    29,    -1,    31,    32,    33,    34,    35,    36,    37,
  465.     -1,    39,    40,    41,    42,    43,    44,    45,    46,    47,
  466.     -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  467.     -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  468.     -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    76,    77,
  469.     -1,    -1,    -1,    81,    82,    83,    84,    -1,     3,     4,
  470.      5,    89,     7,     8,     9,    10,    11,    12,    13,    14,
  471.     15,    16,    -1,    18,    19,    20,    -1,    22,    23,    -1,
  472.     25,    26,    27,    28,    29,    -1,    -1,    -1,    33,    34,
  473.     35,    36,    37,    -1,    39,    40,    41,    -1,    43,    44,
  474.     45,    46,    47,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  475.     -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  476.     -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  477.     -1,    76,    77,    -1,    -1,    -1,    81,    82,    83,    84,
  478.     -1,    -1,    -1,    -1,    89,    50,    51,    52,    53,    54,
  479.     55,    56,    57,    58,    59,    60,    61,    62,    63,    64,
  480.     65,    66,    67,    68,    69,    70,    71,    72,    73,    74,
  481.     75,    76,    77,    78,    79,    80,    -1,    82,    83
  482. };
  483. #define YYPURE 1
  484.  
  485. #line 2 "bison.simple"
  486.  
  487. #define ICCE_MODIFICATIONS
  488. /*
  489.     The ICCE_MODIFICATIONS locate the parser's stacks outside of the yyparse()
  490.     through calls to malloc(). Therefore, the larger stack to be used with
  491.     bison's parsers isn't necessary anymore in normal circumstances.
  492.  
  493.     Modification date: 21 / 3 / 90
  494.     Modications by Frank Brokken
  495. */
  496.  
  497. /*
  498.     ICCE MODIFICATION 19/12/1991 by FBB
  499.  
  500.     Declaration of functions and variables used by yyparse(),
  501.     but otherwise not declared in de generated code.
  502.  
  503.     ICCE MODIFICATION 02/21/1992 by KK
  504.  
  505.     Declaration of yyerror() and yylex() using ANSI only if
  506.     MSDOS is defined (automatically defined by MSC 6.00a).
  507.     Otherwise, no prototyping.
  508.     All eoln-comments changed to standard comments.
  509. */
  510.  
  511. #ifdef MSDOS
  512.     int yyerror(char *);                    /* yyparse() error function */
  513.     int yylex(void);                        /* yylex() */
  514. #else
  515.     int yyerror ();
  516.     int yylex ();
  517. #endif
  518.  
  519. /*
  520.     END OF ICCE MODIFICATION
  521. */
  522.  
  523. /* Skeleton output parser for bison,
  524.    copyright (C) 1984 Bob Corbett and Richard Stallman
  525.  
  526.                        NO WARRANTY
  527.  
  528.   BECAUSE THIS PROGRAM IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY
  529. NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW.  EXCEPT
  530. WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC,
  531. RICHARD M. STALLMAN AND/OR OTHER PARTIES PROVIDE THIS PROGRAM "AS IS"
  532. WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
  533. BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  534. FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY
  535. AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE PROGRAM PROVE
  536. DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
  537. CORRECTION.
  538.  
  539.  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL RICHARD M.
  540. STALLMAN, THE FREE SOFTWARE FOUNDATION, INC., AND/OR ANY OTHER PARTY
  541. WHO MAY MODIFY AND REDISTRIBUTE THIS PROGRAM AS PERMITTED BELOW, BE
  542. LIABLE TO YOU FOR DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR
  543. OTHER SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  544. USE OR INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
  545. DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR
  546. A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS) THIS
  547. PROGRAM, EVEN IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
  548. DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
  549.  
  550.                 GENERAL PUBLIC LICENSE TO COPY
  551.  
  552.   1. You may copy and distribute verbatim copies of this source file
  553. as you receive it, in any medium, provided that you conspicuously and
  554. appropriately publish on each copy a valid copyright notice "Copyright
  555. (C) 1985 Free Software Foundation, Inc."; and include following the
  556. copyright notice a verbatim copy of the above disclaimer of warranty
  557. and of this License.  You may charge a distribution fee for the
  558. physical act of transferring a copy.
  559.  
  560.   2. You may modify your copy or copies of this source file or
  561. any portion of it, and copy and distribute such modifications under
  562. the terms of Paragraph 1 above, provided that you also do the following:
  563.  
  564.     a) cause the modified files to carry prominent notices stating
  565.     that you changed the files and the date of any change; and
  566.  
  567.     b) cause the whole of any work that you distribute or publish,
  568.     that in whole or in part contains or is a derivative of this
  569.     program or any part thereof, to be licensed at no charge to all
  570.     third parties on terms identical to those contained in this
  571.     License Agreement (except that you may choose to grant more extensive
  572.     warranty protection to some or all third parties, at your option).
  573.  
  574.     c) You may charge a distribution fee for the physical act of
  575.     transferring a copy, and you may at your option offer warranty
  576.     protection in exchange for a fee.
  577.  
  578. Mere aggregation of another unrelated program with this program (or its
  579. derivative) on a volume of a storage or distribution medium does not bring
  580. the other program under the scope of these terms.
  581.  
  582.   3. You may copy and distribute this program (or a portion or derivative
  583. of it, under Paragraph 2) in object code or executable form under the terms
  584. of Paragraphs 1 and 2 above provided that you also do one of the following:
  585.  
  586.     a) accompany it with the complete corresponding machine-readable
  587.     source code, which must be distributed under the terms of
  588.     Paragraphs 1 and 2 above; or,
  589.  
  590.     b) accompany it with a written offer, valid for at least three
  591.     years, to give any third party free (except for a nominal
  592.     shipping charge) a complete machine-readable copy of the
  593.     corresponding source code, to be distributed under the terms of
  594.     Paragraphs 1 and 2 above; or,
  595.  
  596.     c) accompany it with the information you received as to where the
  597.     corresponding source code may be obtained.  (This alternative is
  598.     allowed only for noncommercial distribution and only if you
  599.     received the program in object code or executable form alone.)
  600.  
  601. For an executable file, complete source code means all the source code for
  602. all modules it contains; but, as a special exception, it need not include
  603. source code for modules which are standard libraries that accompany the
  604. operating system on which the executable file runs.
  605.  
  606.   4. You may not copy, sublicense, distribute or transfer this program
  607. except as expressly provided under this License Agreement.  Any attempt
  608. otherwise to copy, sublicense, distribute or transfer this program is void and
  609. your rights to use the program under this License agreement shall be
  610. automatically terminated.  However, parties who have received computer
  611. software programs from you with this License Agreement will not have
  612. their licenses terminated so long as such parties remain in full compliance.
  613.  
  614.   5. If you wish to incorporate parts of this program into other free
  615. programs whose distribution conditions are different, write to the Free
  616. Software Foundation at 675 Mass Ave, Cambridge, MA 02139.  We have not yet
  617. worked out a simple rule that can be stated here, but we will often permit
  618. this.  We will be guided by the two goals of preserving the free status of
  619. all derivatives of our free software and of promoting the sharing and reuse of
  620. software.
  621.  
  622.  
  623. In other words, you are welcome to use, share and improve this program.
  624. You are forbidden to forbid anyone else to use, share and improve
  625. what you give them.   Help stamp out software-hoarding!  */
  626.  
  627. /* This is the parser code that is written into each bison parser
  628.   when the %semantic_parser declaration is not specified in the grammar.
  629.   It was written by Richard Stallman by simplifying the hairy parser
  630.   used when %semantic_parser is specified.  */
  631.  
  632. /* Note: there must be only one dollar sign in this file.
  633.    It is replaced by the list of actions, each action
  634.    as one case of the switch.  */
  635.  
  636. #define yyerrok         (yyerrstatus = 0)
  637. #define yyclearin       (yychar = YYEMPTY)
  638. #define YYEMPTY         -2
  639. #define YYEOF           0
  640. #define YYFAIL          goto yyerrlab;
  641.  
  642. #define YYTERROR        1
  643.  
  644. #ifndef YYIMPURE
  645. #define YYLEX           yylex()
  646. #endif
  647.  
  648. #ifndef YYPURE
  649. #define YYLEX           yylex(&yylval, &yylloc)
  650. #endif
  651.  
  652. /* If nonreentrant, generate the variables here */
  653.  
  654. #ifndef YYIMPURE
  655.  
  656. int     yychar;                 /*  the lookahead symbol                */
  657. YYSTYPE yylval;                 /*  the semantic value of the           */
  658.                                 /*  lookahead symbol                    */
  659.  
  660. YYLTYPE yylloc;                 /*  location data for the lookahead     */
  661.                                 /*  symbol                              */
  662.  
  663. int yynerr;                     /*  number of parse errors so far       */
  664.  
  665. #ifdef YYDEBUG
  666. int yydebug = 0;                /*  nonzero means print parse trace     */
  667. #endif
  668.  
  669. #endif  /* YYIMPURE */
  670.  
  671.  
  672. /*  YYMAXDEPTH indicates the initial size of the parser's stacks        */
  673.  
  674. #ifndef YYMAXDEPTH
  675. #define YYMAXDEPTH 200
  676. #endif
  677.  
  678. /*  YYMAXLIMIT is the maximum size the stacks can grow to
  679.     (effective only if the built-in stack extension method is used).  */
  680.  
  681. #ifndef YYMAXLIMIT
  682. #define YYMAXLIMIT 10000
  683. #endif
  684.  
  685. #ifdef MSDOS
  686. #include <malloc.h>
  687. #include <memory.h>
  688. #define bcopy(src, dst, num) memcpy((dst), (src), (num))
  689. #endif
  690.  
  691. #line 167 "bison.simple"
  692. int
  693. yyparse()
  694. {
  695.   register int yystate;
  696.   register int yyn;
  697.   register short *yyssp;
  698.   register YYSTYPE *yyvsp;
  699.   YYLTYPE *yylsp;
  700.   int yyerrstatus;      /*  number of tokens to shift before error messages enabled */
  701.   int yychar1;          /*  lookahead token as an internal (translated) token number */
  702.  
  703.   int yymaxdepth = YYMAXDEPTH;
  704.  
  705. #ifndef YYPURE
  706.   int yychar;
  707.   YYSTYPE yylval;
  708.   YYLTYPE yylloc;
  709. #endif
  710.  
  711. #ifdef YYDEBUG
  712.   extern int yydebug;
  713. #endif
  714.  
  715.  
  716.   YYSTYPE yyval;                /*  the variable used to return         */
  717.                                 /*  semantic values from the action     */
  718.                                 /*  routines                            */
  719.  
  720.   int yylen;
  721.  
  722. #ifndef ICCE_MODIFICATIONS
  723.   short yyssa[YYMAXDEPTH];      /*  the state stack                     */
  724.   YYSTYPE yyvsa[YYMAXDEPTH];    /*  the semantic value stack            */
  725.   YYLTYPE yylsa[YYMAXDEPTH];    /*  the location stack                  */
  726.  
  727.   short *yyss = yyssa;          /*  refer to the stacks thru separate pointers */
  728.   YYSTYPE *yyvs = yyvsa;        /*  to allow yyoverflow to reallocate them elsewhere */
  729.   YYLTYPE *yyls = yylsa;
  730. #else
  731.  
  732. /*
  733.     Sub-modification defining ICCEACCEPT and ICCEABORT, and redefining
  734.     YYACCEPT and YYABORT:
  735.                           january 03, 1992
  736.                                by FBB
  737. */
  738. #define ICCEACCEPT  return(0)               /* NOTE: ICCEACCEPT MUST BE THE */
  739.                                             /* ORIGINAL YYACCEPT DEFINITION */
  740.  
  741. #define ICCEABORT   return(1)               /* NOTE: ICCEABORT MUST BE THE */
  742.                                             /* ORIGINAL YYABORT DEFINITION */
  743.  
  744. #undef YYACCEPT
  745. #define YYACCEPT     {free(yyss); free(yyvs); free(yyls); ICCEACCEPT;}
  746.  
  747.     short
  748.         *yyss;
  749.     YYSTYPE
  750.         *yyvs;
  751.     YYLTYPE
  752.         *yyls;
  753.  
  754.     if
  755.     (
  756.         !
  757.         (
  758.             (yyss = (short *) malloc(YYMAXDEPTH * sizeof(short)))
  759.             &&
  760.             (yyvs = (YYSTYPE *) malloc(YYMAXDEPTH * sizeof(YYSTYPE)))
  761.             &&
  762.             (yyls = (YYLTYPE *) malloc(YYMAXDEPTH * sizeof(YYLTYPE)))
  763.         )
  764.     )
  765.     {
  766.         yyerror("No stack memory");
  767.         YYABORT;
  768.     }
  769.  
  770. #undef YYABORT
  771. #define YYABORT     {free(yyss); free(yyvs); free(yyls); ICCEABORT;}
  772.  
  773. #endif
  774. #ifdef YYDEBUG
  775.   if (yydebug)
  776.     fprintf(stderr, "Starting parse\n");
  777. #endif
  778.  
  779.   yystate = 0;
  780.   yyerrstatus = 0;
  781.   yynerr = 0;
  782.   yychar = YYEMPTY;             /* Cause a token to be read.  */
  783.  
  784.   /* Initialize stack pointers.
  785.      Waste one element of value and location stack
  786.      so that they stay on the same level as the state stack.  */
  787.  
  788.   yyssp = yyss - 1;
  789.   yyvsp = yyvs;
  790.   yylsp = yyls;
  791.  
  792. /* Push a new state, which is found in  yystate  .  */
  793. /* In all cases, when you get here, the value and location stacks
  794.    have just been pushed. so pushing a state here evens the stacks.  */
  795. yynewstate:
  796.  
  797.   *++yyssp = yystate;
  798.  
  799.   if (yyssp >= yyss + yymaxdepth - 1)
  800.     {
  801.       /* Give user a chance to reallocate the stack */
  802.       /* Use copies of these so that the &'s don't force the real ones into memory. */
  803.       YYSTYPE *yyvs1 = yyvs;
  804.       YYLTYPE *yyls1 = yyls;
  805.       short *yyss1 = yyss;
  806.  
  807.       /* Get the current used size of the three stacks, in elements.  */
  808.       int size = yyssp - yyss + 1;
  809.  
  810. #ifdef yyoverflow
  811.       /* Each stack pointer address is followed by the size of
  812.          the data in use in that stack, in bytes.  */
  813.       yyoverflow("parser stack overflow",
  814.                  &yyss1, size * sizeof (*yyssp),
  815.                  &yyvs1, size * sizeof (*yyvsp),
  816.                  &yyls1, size * sizeof (*yylsp),
  817.                  &yymaxdepth);
  818.  
  819.       yyss = yyss1; yyvs = yyvs1; yyls = yyls1;
  820. #else /* no yyoverflow */
  821.       /* Extend the stack our own way.  */
  822.       if (yymaxdepth >= YYMAXLIMIT)
  823.         yyerror("parser stack overflow");
  824.       yymaxdepth *= 2;
  825.       if (yymaxdepth > YYMAXLIMIT)
  826.         yymaxdepth = YYMAXLIMIT;
  827.       yyss = (short *) alloca (yymaxdepth * sizeof (*yyssp));
  828.       bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
  829.       yyvs = (YYSTYPE *) alloca (yymaxdepth * sizeof (*yyvsp));
  830.       bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
  831. #ifdef YYLSP_NEEDED
  832.       yyls = (YYLTYPE *) alloca (yymaxdepth * sizeof (*yylsp));
  833.       bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
  834. #endif
  835. #endif /* no yyoverflow */
  836.  
  837.       yyssp = yyss + size - 1;
  838.       yyvsp = yyvs + size - 1;
  839. #ifdef YYLSP_NEEDED
  840.       yylsp = yyls + size - 1;
  841. #endif
  842.  
  843. #ifdef YYDEBUG
  844.       if (yydebug)
  845.         fprintf(stderr, "Stack size increased to %d\n", yymaxdepth);
  846. #endif
  847.  
  848.       if (yyssp >= yyss + yymaxdepth - 1)
  849.         YYABORT;
  850.     }
  851.  
  852. #ifdef YYDEBUG
  853.   if (yydebug)
  854.     fprintf(stderr, "Entering state %d\n", yystate);
  855. #endif
  856.  
  857. /* Do appropriate processing given the current state.  */
  858. /* Read a lookahead token if we need one and don't already have one.  */
  859. yyresume:
  860.  
  861.   /* First try to decide what to do without reference to lookahead token.  */
  862.  
  863.   yyn = yypact[yystate];
  864.   if (yyn == YYFLAG)
  865.     goto yydefault;
  866.  
  867.   /* Not known => get a lookahead token if don't already have one.  */
  868.  
  869.   /* yychar is either YYEMPTY or YYEOF
  870.      or a valid token in external form.  */
  871.  
  872.   if (yychar == YYEMPTY)
  873.     {
  874. #ifdef YYDEBUG
  875.       if (yydebug)
  876.         fprintf(stderr, "Reading a token: ");
  877. #endif
  878.       yychar = YYLEX;
  879.     }
  880.  
  881.   /* Convert token to internal form (in yychar1) for indexing tables with */
  882.  
  883.   if (yychar <= 0)              /* This means end of input. */
  884.     {
  885.       yychar1 = 0;
  886.       yychar = YYEOF;           /* Don't call YYLEX any more */
  887.  
  888. #ifdef YYDEBUG
  889.       if (yydebug)
  890.         fprintf(stderr, "Now at end of input.\n");
  891. #endif
  892.     }
  893.   else
  894.     {
  895.       yychar1 = YYTRANSLATE(yychar);
  896.  
  897. #ifdef YYDEBUG
  898.       if (yydebug)
  899.         fprintf(stderr, "Next token is %d (%s)\n", yychar, yytname[yychar1]);
  900. #endif
  901.     }
  902.  
  903.   yyn += yychar1;
  904.   if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
  905.     goto yydefault;
  906.  
  907.   yyn = yytable[yyn];
  908.  
  909.   /* yyn is what to do for this token type in this state.
  910.      Negative => reduce, -yyn is rule number.
  911.      Positive => shift, yyn is new state.
  912.        New state is final state => don't bother to shift,
  913.        just return success.
  914.      0, or most negative number => error.  */
  915.  
  916.   if (yyn < 0)
  917.     {
  918.       if (yyn == YYFLAG)
  919.         goto yyerrlab;
  920.       yyn = -yyn;
  921.       goto yyreduce;
  922.     }
  923.   else if (yyn == 0)
  924.     goto yyerrlab;
  925.  
  926.   if (yyn == YYFINAL)
  927.     YYACCEPT;
  928.  
  929.   /* Shift the lookahead token.  */
  930.  
  931. #ifdef YYDEBUG
  932.   if (yydebug)
  933.     fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
  934. #endif
  935.  
  936.   /* Discard the token being shifted unless it is eof.  */
  937.   if (yychar != YYEOF)
  938.     yychar = YYEMPTY;
  939.  
  940.   *++yyvsp = yylval;
  941. #ifdef YYLSP_NEEDED
  942.   *++yylsp = yylloc;
  943. #endif
  944.  
  945.   /* count tokens shifted since error; after three, turn off error status.  */
  946.   if (yyerrstatus) yyerrstatus--;
  947.  
  948.   yystate = yyn;
  949.   goto yynewstate;
  950.  
  951. /* Do the default action for the current state.  */
  952. yydefault:
  953.  
  954.   yyn = yydefact[yystate];
  955.   if (yyn == 0)
  956.     goto yyerrlab;
  957.  
  958. /* Do a reduction.  yyn is the number of a rule to reduce with.  */
  959. yyreduce:
  960.   yylen = yyr2[yyn];
  961.   yyval = yyvsp[1-yylen]; /* implement default value of the action */
  962.  
  963. #ifdef YYDEBUG
  964.   if (yydebug)
  965.     {
  966.       if (yylen == 1)
  967.         fprintf (stderr, "Reducing 1 value via line %d, ",
  968.                  yyrline[yyn]);
  969.       else
  970.         fprintf (stderr, "Reducing %d values via line %d, ",
  971.                  yylen, yyrline[yyn]);
  972.     }
  973. #endif
  974.  
  975.  
  976.   switch (yyn) {
  977.  
  978. case 3:
  979. #line 115 "parser"
  980. {
  981.             yyval = *multargs(&yyvsp[-2], &yyvsp[0]);
  982.         ;
  983.     break;}
  984. case 4:
  985. #line 120 "parser"
  986. {
  987.             yyval = *firstarg(&yyvsp[0]);
  988.         ;
  989.     break;}
  990. case 5:
  991. #line 126 "parser"
  992. {
  993.             break_ok++;
  994.         ;
  995.     break;}
  996. case 6:
  997. #line 133 "parser"
  998. {
  999.             yyval = *break_stmnt();
  1000.         ;
  1001.     break;}
  1002. case 10:
  1003. #line 146 "parser"
  1004. {parse_error = err_closebrace_expected; ;
  1005.     break;}
  1006. case 12:
  1007. #line 147 "parser"
  1008. {parse_error = err_closepar_expected; ;
  1009.     break;}
  1010. case 14:
  1011. #line 148 "parser"
  1012. {parse_error = err_comma_expected; ;
  1013.     break;}
  1014. case 16:
  1015. #line 153 "parser"
  1016. {
  1017.             yyval = yyvsp[0];
  1018.         ;
  1019.     break;}
  1020. case 18:
  1021. #line 163 "parser"
  1022. {
  1023.             yyval = yyvsp[0];
  1024.         ;
  1025.     break;}
  1026. case 20:
  1027. #line 171 "parser"
  1028. { parse_error = err_comma_or_closepar_expected; ;
  1029.     break;}
  1030. case 22:
  1031. #line 177 "parser"
  1032. {
  1033.             yyval = yyvsp[-1];
  1034.         ;
  1035.     break;}
  1036. case 25:
  1037. #line 194 "parser"
  1038. {
  1039.             yyval = yyvsp[0];
  1040.         ;
  1041.     break;}
  1042. case 27:
  1043. #line 203 "parser"
  1044. {
  1045.             entervar();
  1046.         ;
  1047.     break;}
  1048. case 28:
  1049. #line 209 "parser"
  1050. {
  1051.             parse_error = err_in_expression;
  1052.         ;
  1053.     break;}
  1054. case 29:
  1055. #line 213 "parser"
  1056. {
  1057.             yyval = yyvsp[0];
  1058.         ;
  1059.     break;}
  1060. case 30:
  1061. #line 222 "parser"
  1062. {
  1063.             yyval = *assign(&yyvsp[-2], &yyvsp[0]);
  1064.         ;
  1065.     break;}
  1066. case 31:
  1067. #line 229 "parser"
  1068. {
  1069.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], multiply, "*=");
  1070.         ;
  1071.     break;}
  1072. case 32:
  1073. #line 236 "parser"
  1074. {
  1075.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], divide, "/=");
  1076.         ;
  1077.     break;}
  1078. case 33:
  1079. #line 243 "parser"
  1080. {
  1081.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], modulo, "%=");
  1082.         ;
  1083.     break;}
  1084. case 34:
  1085. #line 250 "parser"
  1086. {
  1087.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], addition, "+=");
  1088.         ;
  1089.     break;}
  1090. case 35:
  1091. #line 257 "parser"
  1092. {
  1093.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], subtract, "-=");
  1094.         ;
  1095.     break;}
  1096. case 36:
  1097. #line 264 "parser"
  1098. {
  1099.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], band, "&=");
  1100.         ;
  1101.     break;}
  1102. case 37:
  1103. #line 271 "parser"
  1104. {
  1105.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], bor, "|=");
  1106.         ;
  1107.     break;}
  1108. case 38:
  1109. #line 278 "parser"
  1110. {
  1111.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], xor, "^=");
  1112.         ;
  1113.     break;}
  1114. case 39:
  1115. #line 285 "parser"
  1116. {
  1117.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], shl, "<<=");
  1118.         ;
  1119.     break;}
  1120. case 40:
  1121. #line 292 "parser"
  1122. {
  1123.             yyval = *math_ass(&yyvsp[-2], &yyvsp[0], shr, ">>=");
  1124.         ;
  1125.     break;}
  1126. case 41:
  1127. #line 299 "parser"
  1128. {
  1129.             yyval = *or_boolean(&yyvsp[-2], &yyvsp[0]);
  1130.         ;
  1131.     break;}
  1132. case 42:
  1133. #line 306 "parser"
  1134. {
  1135.             yyval = *and_boolean(&yyvsp[-2], &yyvsp[0]);
  1136.         ;
  1137.     break;}
  1138. case 43:
  1139. #line 313 "parser"
  1140. {
  1141.             yyval = *equal(&yyvsp[-2], &yyvsp[0]);
  1142.         ;
  1143.     break;}
  1144. case 44:
  1145. #line 320 "parser"
  1146. {
  1147.             yyval = *unequal(&yyvsp[-2], &yyvsp[0]);
  1148.         ;
  1149.     break;}
  1150. case 45:
  1151. #line 327 "parser"
  1152. {
  1153.             yyval = *smaller(&yyvsp[-2], &yyvsp[0]);
  1154.         ;
  1155.     break;}
  1156. case 46:
  1157. #line 334 "parser"
  1158. {
  1159.             yyval = *greater(&yyvsp[-2], &yyvsp[0]);
  1160.         ;
  1161.     break;}
  1162. case 47:
  1163. #line 341 "parser"
  1164. {
  1165.             yyval = *sm_equal(&yyvsp[-2], &yyvsp[0]);
  1166.         ;
  1167.     break;}
  1168. case 48:
  1169. #line 348 "parser"
  1170. {
  1171.             yyval = *gr_equal(&yyvsp[-2], &yyvsp[0]);
  1172.         ;
  1173.     break;}
  1174. case 49:
  1175. #line 355 "parser"
  1176. {
  1177.             yyval = *addition(&yyvsp[-2], &yyvsp[0]);
  1178.         ;
  1179.     break;}
  1180. case 50:
  1181. #line 362 "parser"
  1182. {
  1183.             yyval = *band(&yyvsp[-2], &yyvsp[0]);
  1184.         ;
  1185.     break;}
  1186. case 51:
  1187. #line 369 "parser"
  1188. {
  1189.             yyval = *bor(&yyvsp[-2], &yyvsp[0]);
  1190.         ;
  1191.     break;}
  1192. case 52:
  1193. #line 376 "parser"
  1194. {
  1195.             yyval = *xor(&yyvsp[-2], &yyvsp[0]);
  1196.         ;
  1197.     break;}
  1198. case 53:
  1199. #line 383 "parser"
  1200. {
  1201.             yyval = *shl(&yyvsp[-2], &yyvsp[0]);
  1202.         ;
  1203.     break;}
  1204. case 54:
  1205. #line 390 "parser"
  1206. {
  1207.             yyval = *shr(&yyvsp[-2], &yyvsp[0]);
  1208.         ;
  1209.     break;}
  1210. case 55:
  1211. #line 397 "parser"
  1212. {
  1213.             yyval = *subtract(&yyvsp[-2], &yyvsp[0]);
  1214.         ;
  1215.     break;}
  1216. case 56:
  1217. #line 404 "parser"
  1218. {
  1219.             yyval = *multiply(&yyvsp[-2], &yyvsp[0]);
  1220.         ;
  1221.     break;}
  1222. case 57:
  1223. #line 411 "parser"
  1224. {
  1225.             yyval = *young(&yyvsp[-2], &yyvsp[0]);
  1226.         ;
  1227.     break;}
  1228. case 58:
  1229. #line 418 "parser"
  1230. {
  1231.             yyval = *old(&yyvsp[-2], &yyvsp[0]);
  1232.         ;
  1233.     break;}
  1234. case 59:
  1235. #line 425 "parser"
  1236. {
  1237.             yyval = *divide(&yyvsp[-2], &yyvsp[0]);
  1238.         ;
  1239.     break;}
  1240. case 60:
  1241. #line 432 "parser"
  1242. {
  1243.             yyval = *modulo(&yyvsp[-2], &yyvsp[0]);
  1244.         ;
  1245.     break;}
  1246. case 61:
  1247. #line 438 "parser"
  1248. {
  1249.             yyval = *negate(&yyvsp[0]);
  1250.         ;
  1251.     break;}
  1252. case 62:
  1253. #line 444 "parser"
  1254. {
  1255.             yyval = *incdec(pre_op, op_inc, &yyvsp[0]);
  1256.         ;
  1257.     break;}
  1258. case 63:
  1259. #line 450 "parser"
  1260. {
  1261.             yyval = *incdec(post_op, op_inc, &yyvsp[-1]);
  1262.         ;
  1263.     break;}
  1264. case 64:
  1265. #line 456 "parser"
  1266. {
  1267.             yyval = *incdec(pre_op, op_dec, &yyvsp[0]);
  1268.         ;
  1269.     break;}
  1270. case 65:
  1271. #line 462 "parser"
  1272. {
  1273.             yyval = *incdec(post_op, op_dec, &yyvsp[-1]);
  1274.         ;
  1275.     break;}
  1276. case 66:
  1277. #line 468 "parser"
  1278. {
  1279.             yyval = yyvsp[0];
  1280.         ;
  1281.     break;}
  1282. case 67:
  1283. #line 474 "parser"
  1284. {
  1285.             yyval = *bnot(&yyvsp[0]);
  1286.         ;
  1287.     break;}
  1288. case 68:
  1289. #line 480 "parser"
  1290. {
  1291.             yyval = *not_boolean(&yyvsp[0]);
  1292.         ;
  1293.     break;}
  1294. case 69:
  1295. #line 488 "parser"
  1296. {
  1297.             yyval = *cast(yyvsp[-2].type, &yyvsp[0]);
  1298.         ;
  1299.     break;}
  1300. case 70:
  1301. #line 493 "parser"
  1302. {
  1303.             yyval = stackframe(e_str | e_const);
  1304.         ;
  1305.     break;}
  1306. case 71:
  1307. #line 498 "parser"
  1308. {
  1309.             yyval = stackframe(e_int | e_const);
  1310.         ;
  1311.     break;}
  1312. case 72:
  1313. #line 505 "parser"
  1314. {
  1315.             yyval = yyvsp[-1];
  1316.         ;
  1317.     break;}
  1318. case 74:
  1319. #line 514 "parser"
  1320. {
  1321.             yyval = *expr_stmnt(&yyvsp[0]);
  1322.         ;
  1323.     break;}
  1324. case 75:
  1325. #line 523 "parser"
  1326. {
  1327.             yyval = *catcode(&yyvsp[-2], &yyvsp[0]);
  1328.         ;
  1329.     break;}
  1330. case 78:
  1331. #line 547 "parser"
  1332. {
  1333.             yyval = *for_stmnt(&yyvsp[-8], &yyvsp[-6], &yyvsp[-4], &yyvsp[-1]);
  1334.         ;
  1335.     break;}
  1336. case 79:
  1337. #line 557 "parser"
  1338. {
  1339.             close_fun(&yyvsp[-1]);
  1340.         ;
  1341.     break;}
  1342. case 81:
  1343. #line 567 "parser"
  1344. {
  1345.             yyval = fetchvar();
  1346.         ;
  1347.     break;}
  1348. case 82:
  1349. #line 575 "parser"
  1350. {
  1351.             yyval = *zeroargs(yyvsp[-1].type);
  1352.         ;
  1353.     break;}
  1354. case 83:
  1355. #line 582 "parser"
  1356. {
  1357.             yyval = *onearg(yyvsp[-2].type, &yyvsp[0]);
  1358.         ;
  1359.     break;}
  1360. case 84:
  1361. #line 591 "parser"
  1362. {
  1363.             yyval = *twoargs(yyvsp[-4].type, &yyvsp[-2], &yyvsp[0]);
  1364.         ;
  1365.     break;}
  1366. case 85:
  1367. #line 599 "parser"
  1368. {
  1369.             yyval = *optint_string(yyvsp[-3].type, &yyvsp[-1], &yyvsp[0]);
  1370.         ;
  1371.     break;}
  1372. case 86:
  1373. #line 607 "parser"
  1374. {
  1375.             yyval = *optint_special(yyvsp[-3].type, &yyvsp[-1], &yyvsp[0]);
  1376.         ;
  1377.     break;}
  1378. case 87:
  1379. #line 614 "parser"
  1380. {
  1381.             yyval = *specials(f_printf, &yyvsp[0]);
  1382.         ;
  1383.     break;}
  1384. case 88:
  1385. #line 621 "parser"
  1386. {
  1387.             yyval = *exec_fprintf(yyvsp[-2].type, &yyvsp[0]);
  1388.         ;
  1389.     break;}
  1390. case 89:
  1391. #line 628 "parser"
  1392. {
  1393.             yyval = *callfun(yyvsp[-2].evalue, &yyvsp[0]);
  1394.         ;
  1395.     break;}
  1396. case 91:
  1397. #line 637 "parser"
  1398. {
  1399.             yyval = *strupr_lwr(yyvsp[-2].type, &yyvsp[0]);  /* string conversion */
  1400.         ;
  1401.     break;}
  1402. case 92:
  1403. #line 644 "parser"
  1404. {
  1405.             open_fun();
  1406.         ;
  1407.     break;}
  1408. case 93:
  1409. #line 651 "parser"
  1410. {
  1411.             yyval.evalue = fetchfun();
  1412.         ;
  1413.     break;}
  1414. case 94:
  1415. #line 662 "parser"
  1416. {
  1417.             make_frame();
  1418.         ;
  1419.     break;}
  1420. case 96:
  1421. #line 685 "parser"
  1422. {
  1423.             yyval = *if_stmnt(&yyvsp[-6], &yyvsp[-4], &yyvsp[-1]);
  1424.         ;
  1425.     break;}
  1426. case 102:
  1427. #line 714 "parser"
  1428. {
  1429.             yyval = *makelist
  1430.                  (
  1431.                      multargs
  1432.                      (
  1433.                          firstarg(&yyvsp[0]),     /* O_FILE is passed */
  1434.                          &yyvsp[-1]                /* expression is passed */
  1435.                      ),
  1436.                      op_hlt                 /* not op_younger or op_older */
  1437.                  );
  1438.         ;
  1439.     break;}
  1440. case 103:
  1441. #line 730 "parser"
  1442. {
  1443.             yyval = *makelist
  1444.                  (
  1445.                      multargs
  1446.                      (
  1447.                          firstarg(&yyvsp[-2]),     /* fileattribute is passed */
  1448.                          &yyvsp[0]                /* expression is passed */
  1449.                      ),
  1450.                      op_hlt                 /* not op_younger or op_older */
  1451.                  );
  1452.         ;
  1453.     break;}
  1454. case 104:
  1455. #line 748 "parser"
  1456. {
  1457.             yyval = *makelist
  1458.                  (
  1459.                     multargs
  1460.                     (
  1461.                         multargs
  1462.                         (
  1463.                             firstarg(&yyvsp[0]),  /* O_FILE   is passed */
  1464.                             &yyvsp[-5]             /* 1st expression is passed */
  1465.                         ),
  1466.                         &yyvsp[-1]                 /* 2nd expression is passed */
  1467.                      ),
  1468.                      yyvsp[-3].type                /* older/younger */
  1469.                  );
  1470.         ;
  1471.     break;}
  1472. case 105:
  1473. #line 771 "parser"
  1474. {
  1475.             yyval = *makelist
  1476.                  (
  1477.                     multargs
  1478.                     (
  1479.                         multargs
  1480.                         (
  1481.                             firstarg(&yyvsp[-6]),  /* attribute is passed */
  1482.                             &yyvsp[-4]             /* 2nd expression is passed */
  1483.                         ),
  1484.                         &yyvsp[0]                 /* 3rd expression is passed */
  1485.                      ),
  1486.                      yyvsp[-2].type                /* older/younger */
  1487.                  );
  1488.         ;
  1489.     break;}
  1490. case 106:
  1491. #line 792 "parser"
  1492. {
  1493.             yyval = yyvsp[0];
  1494.         ;
  1495.     break;}
  1496. case 107:
  1497. #line 798 "parser"
  1498. {
  1499.             yyval = stackframe(e_int | e_const);
  1500.             yyval.evalue = O_FILE;
  1501.         ;
  1502.     break;}
  1503. case 108:
  1504. #line 806 "parser"
  1505. {
  1506.             nestlevel++;
  1507.         ;
  1508.     break;}
  1509. case 109:
  1510. #line 813 "parser"
  1511. {
  1512.             yyerrok;
  1513.         ;
  1514.     break;}
  1515. case 110:
  1516. #line 819 "parser"
  1517. {parse_error = err_older_younger; ;
  1518.     break;}
  1519. case 111:
  1520. #line 821 "parser"
  1521. {
  1522.             yyval = yyvsp[0];
  1523.         ;
  1524.     break;}
  1525. case 127:
  1526. #line 860 "parser"
  1527. {parse_error = err_openpar_expected; ;
  1528.     break;}
  1529. case 129:
  1530. #line 861 "parser"
  1531. {parse_error = err_openbrace_expected; ;
  1532.     break;}
  1533. case 134:
  1534. #line 872 "parser"
  1535. {
  1536.             yyval = stackframe(e_int | e_const);
  1537.             yyval.evalue = 1;
  1538.         ;
  1539.     break;}
  1540. case 147:
  1541. #line 911 "parser"
  1542. {
  1543.             vartype = e_int;
  1544.         ;
  1545.     break;}
  1546. case 150:
  1547. #line 927 "parser"
  1548. {
  1549.             n_params++;
  1550.         ;
  1551.     break;}
  1552. case 151:
  1553. #line 933 "parser"
  1554. {
  1555.             pop_dead();
  1556.         ;
  1557.     break;}
  1558. case 152:
  1559. #line 939 "parser"
  1560. {
  1561.             push_dead();                    /* set new dead-level */
  1562.         ;
  1563.     break;}
  1564. case 153:
  1565. #line 949 "parser"
  1566. {
  1567.             yyval = *return_stmnt(yyvsp[-1].type, &yyvsp[0]);
  1568.         ;
  1569.     break;}
  1570. case 156:
  1571. #line 960 "parser"
  1572. {parse_error = err_semicol_expected; ;
  1573.     break;}
  1574. case 158:
  1575. #line 964 "parser"
  1576. {
  1577.             sem_err = 0;
  1578.         ;
  1579.     break;}
  1580. case 159:
  1581. #line 972 "parser"
  1582. {
  1583.             yyval = *cat_stmnt(&yyvsp[-1], &yyvsp[0]);
  1584.         ;
  1585.     break;}
  1586. case 162:
  1587. #line 984 "parser"
  1588. {
  1589.             yyval = yyvsp[-1];
  1590.         ;
  1591.     break;}
  1592. case 170:
  1593. #line 1010 "parser"
  1594. {
  1595.         stringbuf = xstrcat(stringbuf, string);/* catenate the new string */
  1596.     ;
  1597.     break;}
  1598. case 171:
  1599. #line 1015 "parser"
  1600. {
  1601.         free(stringbuf);                    /* free former string */
  1602.         stringbuf = xstrdup(string);        /* duplicate initial string */
  1603.     ;
  1604.     break;}
  1605. case 181:
  1606. #line 1046 "parser"
  1607. {
  1608.             parse_error = err_identifier_expected;
  1609.             vartype = yyvsp[0].type;
  1610.         ;
  1611.     break;}
  1612. case 191:
  1613. #line 1085 "parser"
  1614. {
  1615.             vartype = 0;
  1616.         ;
  1617.     break;}
  1618. case 193:
  1619. #line 1103 "parser"
  1620. {
  1621.             yyval = *while_stmnt(&yyvsp[-4], &yyvsp[-1]);
  1622.         ;
  1623.     break;}
  1624. case 197:
  1625. #line 1120 "parser"
  1626. {
  1627.             yyval = stackframe(0);
  1628.         ;
  1629.     break;}
  1630. }
  1631.    /* the action file gets copied in in place of this dollarsign */
  1632. #line 408 "bison.simple"
  1633.  
  1634.   yyvsp -= yylen;
  1635.   yyssp -= yylen;
  1636. #ifdef YYLSP_NEEDED
  1637.   yylsp -= yylen;
  1638. #endif
  1639.  
  1640. #ifdef YYDEBUG
  1641.   if (yydebug)
  1642.     {
  1643.       short *ssp1 = yyss - 1;
  1644.       fprintf (stderr, "state stack now");
  1645.       while (ssp1 != yyssp)
  1646.         fprintf (stderr, " %d", *++ssp1);
  1647.       fprintf (stderr, "\n");
  1648.     }
  1649. #endif
  1650.  
  1651.   *++yyvsp = yyval;
  1652.  
  1653. #ifdef YYLSP_NEEDED
  1654.   yylsp++;
  1655.   if (yylen == 0)
  1656.     {
  1657.       yylsp->first_line = yylloc.first_line;
  1658.       yylsp->first_column = yylloc.first_column;
  1659.       yylsp->last_line = (yylsp-1)->last_line;
  1660.       yylsp->last_column = (yylsp-1)->last_column;
  1661.       yylsp->text = 0;
  1662.     }
  1663.   else
  1664.     {
  1665.       yylsp->last_line = (yylsp+yylen-1)->last_line;
  1666.       yylsp->last_column = (yylsp+yylen-1)->last_column;
  1667.     }
  1668. #endif
  1669.  
  1670.   /* Now "shift" the result of the reduction.
  1671.      Determine what state that goes to,
  1672.      based on the state we popped back to
  1673.      and the rule number reduced by.  */
  1674.  
  1675.   yyn = yyr1[yyn];
  1676.  
  1677.   yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
  1678.   if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
  1679.     yystate = yytable[yystate];
  1680.   else
  1681.     yystate = yydefgoto[yyn - YYNTBASE];
  1682.  
  1683.   goto yynewstate;
  1684.  
  1685. yyerrlab:   /* here on detecting error */
  1686.  
  1687.   if (! yyerrstatus)
  1688.     /* If not already recovering from an error, report this error.  */
  1689.     {
  1690.       ++yynerr;
  1691.       yyerror("parse error");
  1692.     }
  1693.  
  1694.   if (yyerrstatus == 3)
  1695.     {
  1696.       /* if just tried and failed to reuse lookahead token after an error, discard it.  */
  1697.  
  1698.       /* return failure if at end of input */
  1699.       if (yychar == YYEOF)
  1700.         YYABORT;
  1701.  
  1702. #ifdef YYDEBUG
  1703.       if (yydebug)
  1704.         fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
  1705. #endif
  1706.  
  1707.       yychar = YYEMPTY;
  1708.     }
  1709.  
  1710.   /* Else will try to reuse lookahead token
  1711.      after shifting the error token.  */
  1712.  
  1713.   yyerrstatus = 3;              /* Each real token shifted decrements this */
  1714.  
  1715.   goto yyerrhandle;
  1716.  
  1717. yyerrdefault:  /* current state does not do anything special for the error token. */
  1718.  
  1719. #if 0
  1720.   /* This is wrong; only states that explicitly want error tokens
  1721.      should shift them.  */
  1722.   yyn = yydefact[yystate];  /* If its default is to accept any token, ok.  Otherwise pop it.*/
  1723.   if (yyn) goto yydefault;
  1724. #endif
  1725.  
  1726. yyerrpop:   /* pop the current state because it cannot handle the error token */
  1727.  
  1728.   if (yyssp == yyss) YYABORT;
  1729.   yyvsp--;
  1730.   yystate = *--yyssp;
  1731. #ifdef YYLSP_NEEDED
  1732.   yylsp--;
  1733. #endif
  1734.  
  1735. #ifdef YYDEBUG
  1736.   if (yydebug)
  1737.     {
  1738.       short *ssp1 = yyss - 1;
  1739.       fprintf (stderr, "Error: state stack now");
  1740.       while (ssp1 != yyssp)
  1741.         fprintf (stderr, " %d", *++ssp1);
  1742.       fprintf (stderr, "\n");
  1743.     }
  1744. #endif
  1745.  
  1746. yyerrhandle:
  1747.  
  1748.   yyn = yypact[yystate];
  1749.   if (yyn == YYFLAG)
  1750.     goto yyerrdefault;
  1751.  
  1752.   yyn += YYTERROR;
  1753.   if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
  1754.     goto yyerrdefault;
  1755.  
  1756.   yyn = yytable[yyn];
  1757.   if (yyn < 0)
  1758.     {
  1759.       if (yyn == YYFLAG)
  1760.         goto yyerrpop;
  1761.       yyn = -yyn;
  1762.       goto yyreduce;
  1763.     }
  1764.   else if (yyn == 0)
  1765.     goto yyerrpop;
  1766.  
  1767.   if (yyn == YYFINAL)
  1768.     YYACCEPT;
  1769.  
  1770. #ifdef YYDEBUG
  1771.   if (yydebug)
  1772.     fprintf(stderr, "Shifting error token, ");
  1773. #endif
  1774.  
  1775.   *++yyvsp = yylval;
  1776. #ifdef YYLSP_NEEDED
  1777.   *++yylsp = yylloc;
  1778. #endif
  1779.  
  1780.   yystate = yyn;
  1781.   goto yynewstate;
  1782. }
  1783. #line 1124 "parser"
  1784.  
  1785.  
  1786. int yywrap()
  1787. {
  1788.     return (1);
  1789. }
  1790.